﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using DLM.Infrastructure.Logging;

namespace DLM.Web.MVC.Controllers
{
    public class BaseController : Controller
    {
        public BaseController()
        {
 
        }

        protected override void OnException(ExceptionContext filterContext)
        {
            // base.OnException(filterContext);
            LoggingFactory.GetLogger().Error(filterContext.Exception.Message,filterContext.Exception);
        }

    }
}
